﻿//
// Code coverage testing.
//

using Kw.Data;
using System;
using System.Collections.Generic;
using System.Threading;

namespace KwDataBench
{
    class BtreeBench04
    {
        static void Main ()
        {
            var tree2 = new BtreeDictionary<int, int> (6);
            int x;

            for (int i = 1; i <= 46; ++i)
                tree2.Add (i, i+200);

            for (x = 1; x <= 10; ++x)
                tree2.Remove (x);

            for (; x <= 12; ++x)
            {
                Console.WriteLine ("\nx={0}", x);
                tree2.Remove (x);
                tree2.Dump ();
                tree2.SanityCheck ();
            }
        }
    }
}
